package com.yunfangdata.service;


import com.yunfangdata.domain.DataDict;
import com.yunfangdata.query.QueryObject;
import com.yunfangdata.util.PageResult;

import java.util.List;

public interface IDataDictService {


    void save(DataDict entity);

    void delete(Long id);

    void update(DataDict entity);

    DataDict get(Long id);

    List<DataDict> list();


    PageResult query(QueryObject qo);


    List<DataDict>  queryByParentId(Long id);



    List<DataDict> selectDataDictByperentId(Long perentId);

    //查询数据字典的父类
    List<DataDict> queryByParentIdIsNull();

    List<DataDict> queryByParentIdChildren(Long parentId);
}
